import React from 'react';
import { StyleSheet, Text, View,Button } from 'react-native';
import { StackNavigator } from 'react-navigation';



export default class ChatScreen extends React.Component {
  static navigationOptions = {
    title: 'Chat with',
  };
  render() {
    const { params } = this.props.navigation.state;
    const { navigate } = this.props.navigation;
    return (
      <View>

        <Text style={styles.buttonColor}>Chat with {params.user}
        </Text>
        
         
          
      </View>
    );
  }
}






const styles = StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor: '#fff',
    alignItems: 'center',
    justifyContent: 'center'
  },
  buttonColor:{
  
    color:'#FFF',
    backgroundColor:'#f60',
    alignItems: 'center'
  }
});